﻿<Application 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
    xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input" 
    xmlns:TControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Data" 
    xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 
    xmlns:GControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView" 
    x:Class="FU.Capstones.IMS.Web.Silverlight.App"
    >
    <Application.Resources>
        
    	<ResourceDictionary>
    		<ResourceDictionary.MergedDictionaries>
    			<ResourceDictionary Source="Assets/StaticStrings/CommonStrings.xaml"/>
    			<ResourceDictionary Source="Assets/CommonSetterValues.xaml"/>
    			<ResourceDictionary Source="Assets/StaticStrings/CustomerStrings.xaml"/>
                <ResourceDictionary Source="Assets/StaticStrings/WarehouseStrings.xaml"/>
    			<ResourceDictionary Source="Assets/StaticStrings/EmployeeStrings.xaml"/>
    			<ResourceDictionary Source="Assets/StaticStrings/MaterialStrings.xaml"/>
    			<ResourceDictionary Source="Assets/StaticStrings/ProductStrings.xaml"/>
    			<ResourceDictionary Source="Assets/StaticStrings/SupplierStrings.xaml"/>
    			<ResourceDictionary Source="Assets/MenuButtonStyle.xaml"/>
                <ResourceDictionary Source="Assets/RadPanelBarItemStyle.xaml"/>
                <ResourceDictionary Source="Assets/LoginPopupTemplate.xaml"/>
                <ResourceDictionary Source="Assets/LogOutMenuStyle.xaml"/>
                <ResourceDictionary Source="Assets/Converters.xaml"/>
                <ResourceDictionary Source="Assets/TextBoxStyle.xaml"/>
                <ResourceDictionary Source="Assets/TextBlockStyle.xaml"/>
                <ResourceDictionary Source="Assets/ButtonStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries> 

            <!--CheckBoxNormalStyle-->
            <Style x:Key="CheckBoxNormalStyle" TargetType="CheckBox">
                <Setter Property="HorizontalAlignment" Value="Left" />
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="FontSize" Value="{StaticResource FontSizeNormal}" />
                <Setter Property="FontFamily" Value="{StaticResource FontFamilyNormal}" />
                <Setter Property="Margin" Value="{StaticResource MarginLarge}" />
             </Style>

            <!--RadGridViewNormal-->
            <Style x:Key="RadGridViewNormal" TargetType="GControls:RadGridView">
                <Setter Property="IsReadOnly" Value="True" />
                <Setter Property="MinHeight" Value="200" />
                <Setter Property="MaxHeight" Value="300" />
                <Setter Property="Margin" Value="{StaticResource MarginNormal}" />
                <Setter Property="CanUserResizeColumns" Value="False"/>
                <Setter Property="AutoGenerateColumns" Value="False"/>
                <Setter Property="SelectionMode" Value="Single"/>
                <Setter Property="IsReadOnly" Value="True" />
                <Setter Property="ScrollMode" Value="RealTime" />
                <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
                <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
            </Style>
            
            <!--ListBoxNormalStyle-->
            <Style x:Key="ListBoxNormalStyle" TargetType="ListBox">
                <Setter Property="Height" Value="75" />
                <Setter Property="Width" Value="{StaticResource WidthNormal}" />
                <Setter Property="FontSize" Value="{StaticResource FontSizeNormal}" />
                <Setter Property="FontFamily" Value="{StaticResource FontFamilyNormal}" />
                <Setter Property="Margin" Value="{StaticResource MarginNormal}" />
                <Setter Property="SelectionMode" Value="Multiple" />
                <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
                <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
                <Setter Property="HorizontalAlignment" Value="Right" />
                <Setter Property="VerticalAlignment" Value="Center" />
            </Style>
            
            <!--BorderTitleStyle-->
            <Style x:Key="BorderTitleStyle" TargetType="Border">
                <Setter Property="BorderThickness" Value="1"/>
            </Style>
            
            <!--ChildWindowStyle-->
            <Style x:Key="ChildWindowStyle" TargetType="Controls:ChildWindow">
                <Setter Property="FontSize" Value="14" />
            </Style>
            
            <!--DatePagerNormalStyle-->
            <Style x:Key="DataPagerNormalStyle" TargetType="TControls:RadDataPager">
                <Setter Property="PageSize" Value="{StaticResource PageSizeNormal}"/>
                <Setter Property="Margin" Value="{StaticResource MarginNormal}"/>
                <Setter Property="DisplayMode" Value="FirstLastPreviousNextNumeric, Text"/>
                <Setter Property="FontSize" Value="{StaticResource FontSizeNormal}"/>
                <Setter Property="Height" Value="{StaticResource HeightNormal}"/>
                <Setter Property="HorizontalAlignment" Value="Right"/>
                <Setter Property="VerticalAlignment" Value="Center"/>
                <Setter Property="IsTotalItemCountFixed" Value="True"/>
            </Style>

            <!--MainPageGridStyle-->
            <Style x:Key="MainPageGridStyle" TargetType="Grid">
                <Setter Property="Background" Value="{StaticResource MainPageBackgroudColor}"/>
                <Setter Property="Height" Value="900" />
            </Style>

            <!--MenuGridStyle-->
            <Style x:Key="MenuGridStyle" TargetType="Grid">
                <Setter Property="Background" Value="{StaticResource MenuBackgroud}" />
                <Setter Property="Width" Value="250" />
                <Setter Property="Height" Value="900" />
            </Style>

            <!--ViewGridStyle-->
            <Style x:Key="ViewGridStyle" TargetType="Grid">
                <Setter Property="Background" Value="{StaticResource ViewBackgroud}"/>
                <Setter Property="HorizontalAlignment" Value="Left" />
                <Setter Property="MaxWidth" Value="842" />
                <Setter Property="MinWidth" Value="842" />
            </Style>

            <!--Menu Button Style-->
    		<Style x:Key="RadRadioButtonMenuStyle" TargetType="telerik:RadRadioButton" BasedOn="{StaticResource RadRadioButtonStyle1}">
    			<Setter Property="Foreground" Value="{StaticResource Foreground}"/>
    			<Setter Property="FontSize" Value="{StaticResource FontSizeMenu}" />
    			<Setter Property="Background" Value="Transparent" />
    			<Setter Property="HorizontalContentAlignment" Value="Left" />
    			<Setter Property="VerticalContentAlignment" Value="Center" />
    			<Setter Property="Margin" Value="0, 0.5, 0, 0.5"/>
                <Setter Property="Padding" Value="20, 0.2, 0.2, 0.2"/>
                <Setter Property="BorderThickness" Value="0" />
    		</Style>
        
            <!--ComboBoxNormalStyle-->
    		<Style x:Key="ComboBoxNormalStyle" TargetType="ComboBox">
                <Setter Property="FontSize" Value="{StaticResource FontSizeNormal}"/>
                <Setter Property="FontFamily" Value="{StaticResource FontFamilyNormal}" />
                <Setter Property="Height" Value="{StaticResource HeightNormal}"/>
                <Setter Property="Width" Value="{StaticResource WidthNormal}"/>
                <Setter Property="Margin" Value="{StaticResource MarginNormal}"/>
                <Setter Property="HorizontalAlignment" Value="Left" />
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="HorizontalContentAlignment" Value="Left" />
                <Setter Property="VerticalContentAlignment" Value="Center" />
            </Style>

            <!--TelerikDatePickerNormalStyle-->
            <Style x:Key="TelerikDatePickerNormalStyle" TargetType="telerikInput:RadDatePicker">
                <Setter Property="FontSize" Value="{StaticResource FontSizeNormal}" />
                <Setter Property="Height" Value="{StaticResource HeightNormal}"/>
                <Setter Property="Width" Value="{StaticResource WidthNormal}"/>
                <Setter Property="Margin" Value="{StaticResource MarginNormal}" />                
                <Setter Property="HorizontalAlignment" Value="Left"/>
                <Setter Property="VerticalAlignment" Value="Center"/>
                <Setter Property="HorizontalContentAlignment" Value="Left" />
                <Setter Property="VerticalContentAlignment" Value="Center" />
                <Setter Property="DateTimeWatermarkContent" Value="ngày/tháng/năm" />
                <Setter Property="DisplayFormat" Value="Short" />                
            </Style>

    	</ResourceDictionary>
    </Application.Resources>
</Application>
